import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import axios from "axios";

Vue.config.productionTip = false;
axios.defaults.withCredentials = true;
Vue.prototype.axios = axios;

import VueDirectiveImagePreviewer from "vue-directive-image-previewer";
import "vue-directive-image-previewer/dist/assets/style.css";
Vue.use(VueDirectiveImagePreviewer, {
  zIndex: 9999,
  previewSize: 3,
  background: {
    color: "#000",
  },
  animate: {
    duration: 600,
    delay: 500,
  },
  loading: {
    image: "",
  },
  cursor: "pointer",
  clickMethod: "doubleClick",
});

new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
